/*
* Created on 08.12.2003
*/
package observations;
/**
* <code>NullQuantity</code> Special quantity without amount and unit.
*
* @author Sascha Hemminger
* @version 1.0 2004-08-10
*/
public class NullQuantity extends Quantity{
/**
* Constructs a new NullQuantity object.
*
*@see observations.Quantity#Quantity(double, Unit)
*/
public NullQuantity() {
super(null,null);
}
/**
* Returns null because there is no amount.
*
* @return null
* @see observations.Quantity#getAmountString()
*/
public String getAmountString() {
return null;
}
}
|